package com.jdym.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Return对象", description="抵押登记表")
public class Pledge implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "抵押ID")
    @TableId(value = "pledge_id", type = IdType.INPUT)
    private Integer pledgeId;

    @ApiModelProperty(value = "抵押凭证")
    @TableField(value = "voucher")
    private String Voucher;

    @ApiModelProperty(value = "状态")
    @TableField(value = "pledge_status")
    private int pledgeStatus;
}
